home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 16 / qextra.zip / TEMPLATE < prev    next >
Text File  |  1988-05-24  |  7KB  |  191 lines

  1. TEMPLATE FOR EXTENDED ASCII AND PRINTER CODES
  2. =============================================
  3. by Gene Catalano (June 1988)
  4.  
  5. As an alternative to creating macro keys for printer and extended ASCII
  6. codes, you can use this template. Just "block copy" the desired portions
  7. from this file into the file you are working with.  (QEDIT's window mode
  8. makes this an expedient process.)
  9.  
  10. ------------------------------------------------------------------------------
  11.  
  12.      BOX/LINES & SHADING
  13.      ===================
  14.  
  15.      ┌ ───── ┐    ╔ ═════ ╗    ╓ ───── ╖      ╒ ═════ ╕      ▄▄▄▄▄
  16.  
  17.      │       │    ║       ║    ║       ║      │       │    ▌ █   █ ▐
  18.  
  19.      └ ───── ┘    ╚ ═════ ╝    ╙ ───── ╜      ╘ ═════ ╛      ▀▀▀▀▀
  20.  
  21.      ┼  ╬  ╫  ╪  ┤  ╡  ╢  ╣  ┴  ┬  ├  ╞
  22.  
  23.      ╟  ╩  ╦  ╠  ╧  ╨  ╤  ╥  ░  ▒  ▓
  24.  
  25. ------------------------------------------------------------------------------
  26.  
  27.      EUROPEAN CHARACTERS
  28.      ===================
  29.  
  30.      Ç  ü  é  â  ä  à  å  ç  ê  ë  è  ï
  31.  
  32.      î  ì  Ä  Å  É  æ  Æ  ô  ö  ò  û  ù
  33.  
  34.      ÿ  Ö  Ü  ¢  £  ¥  ₧  ƒ  á  í  ó  ú
  35.  
  36.      ñ  Ñ  ª  º  ¿  ⌐  ¬  ½  ¼  ¡  «  »
  37.  
  38. ------------------------------------------------------------------------------
  39.  
  40.      SCIENTIFIC/MATHEMATIC SYMBOLS
  41.      =============================
  42.  
  43.      α  ß  Γ  π  Σ  σ  µ  τ  Φ  Θ  Ω
  44.  
  45.      δ  ∞  φ  ε  ∩  ≡  ±  ≥  ≤  ⌠
  46.  
  47.      ⌡  ÷  ≈  °  ∙  ·  √  ⁿ  ²  ■
  48.  
  49. ******************************************************************************
  50.  
  51. PRINTER CODES
  52. =============
  53.  
  54. The codes below are set for my printer (NEC Pinwriter 2200), which is Epson
  55. compatible.  Do not assume my codes match yours; they probably don't. Refer
  56. to the programmer's section of your printer's manual, and replace any of my
  57. codes with yours, if different.  Then test each one. Usually you have two
  58. or more ways to send a print code, not all of which may work (especially if
  59. you have a "DIP switch" or "software command" control over "printer mode."
  60. Example: many printers can be switched from "standard" mode--which is its
  61. own--to "IBM Proprinter," "Epson LQ series," or some other printer brand.
  62. In these cases, some print codes may be suitable for one, and not the
  63. other.)  The codes to look for in your manual are the ones preceded by
  64. [ESC].
  65.  
  66. FORM FEED, CARRIAGE RETURN and LINE FEED codes are compatible for
  67. all IBM compatible microcomputers...they are "[CTRL]" codes
  68. rather that "[ESC]" codes.
  69.  
  70. Printer [ESC] codes are "case sensitive"...that is, whenever a
  71. code includes an alphabetic character, pay attention to whether
  72. your printer manual indicates it as uppercase or lowercase, for
  73. that is how you should type it.
  74.  
  75. A quick way to see which of my printer's codes (if any) are compatible with
  76. your printer, is to print out my accessory file, TEST.PRN, from the QEDIT
  77. environment.  Note that, any incompatible code can throw off the remaining
  78. coded text to print out, even if a code that follows is actually
  79. compatible.
  80.  
  81. To create a print code, follow these steps:
  82.  
  83.    1)  Press QEDIT's "<literal>" key
  84.    2)  Press [ESC]
  85.    3)  Press the appropriate code (1, 2, or 3 characters)
  86.  
  87. All text-imbedded printer codes are preceded by [ESC] (except "form feed,"
  88. "carriage return" and "linefeed," which are preceded by [CTRL]). Pressing
  89. "<literal>[ESC]" makes a tiny left-pointing arrow appear, which is the
  90. on-screen symbol for [ESC].
  91.  
  92. How to use these codes in text:  Insert the "on" code before the text to be
  93. affected. Insert the matching "off" code at the end of text to be affected.
  94. You may prefer to join the "on" and "off" codes as one string (or word),
  95. move the cursor between the two (with [insert] "on"), then start
  96. typing...and when you want to turn the code "off," just move the cursor to
  97. the right, beyond the "off" code.
  98.  
  99.  
  100.  
  101.  PRINT MODE               CODE "on"           CODE "off"
  102.  ----------               ---------           ----------
  103.  
  104.  DRAFT MODE               x0
  105.  LETTER QUALITY           x1                 x0   (return to draft mode)
  106.  DOUBLE STRIKE            G                  H
  107.  ENHANCED                 E                  F
  108.  ITALICS                                    
  109.  UNDERSCORE               -1                 -0
  110.  SUPERSCRIPT              S0                 T
  111.  SUBSCRIPT                S1                 T
  112.  CENTER JUSTIFICATION     a1
  113.  FULL JUSTIFICATION       a3                 a0
  114.  PROPORTIONAL SPACING     p1                 p0
  115.  10 CPI                   P
  116.  12 CPI                   M                  P    (return to 10 cpi)
  117.  SKIP OVER PERFORATION    N3                 O
  118.  
  119.  FORM FEED                
  120.  
  121.  CARRIAGE RETURN/LINE FEED   
  122.  
  123.   
  124.  
  125.  
  126. Use the code for "draft mode" to turn LETTER QUALITY "off".  Use the code
  127. for "10 cpi" to turn 12 CPI "off".
  128.  
  129. There is a hyphen as part of UNDERSCORE's "on" and "off" codes, in case you
  130. were confused by the appearance.
  131.  
  132. CENTER JUSTIFICATION needs no "off" command, as a regular carriage return
  133. serves this purpose.  The CENTER JUSTIFICATION command must be inserted in
  134. column 1 of each line to be centered.
  135.  
  136. DRAFT MODE and 10 CPI have no "off" code, as they are considered the
  137. printer's default mode.
  138.  
  139. SKIP OVER PERFORATION  is set in PRINTER.MAC at "0"...so change the code if
  140. you want the printer to skip lines (number of lines determined by the
  141. number you insert...not to be greater than the current page length).
  142.  
  143. If one or both of the CARRIAGE RETURN/LINE FEED characters are
  144. missing in the list above, it's because they tend to disappear
  145. when saved in a file.  CARRIAGE RETURN is imbedded in text by
  146. pressing
  147.  
  148. <literal>
  149. [ESC]
  150. [CTRL]M
  151.  
  152. and LINE FEED is imbedded by pressing
  153.  
  154. <literal>
  155. [ESC]
  156. [CTRL]J
  157.  
  158. CARRIAGE RETURN/LINEFEED is not a text-imbedded code, but can be used from
  159. the keyboard to make the printer eject the page one line up.  Here is how
  160. to do it:
  161.  
  162.    1)  "<drop_anchor>" on the code's first character, then "<drop_anchor>"
  163.        on the second character.  The 2-character code should now be
  164.        highlighted as a block.
  165.  
  166.    2)  Making sure your printer is on, execute the "<print_block>" command.
  167.        Printer paper should move 1 line up.
  168.  
  169.    3)  Erase the CARRIAGE RETURN code.
  170.  
  171.  
  172. For some reason, a single carriage return/linefeed sent to the printer via
  173. the keyboard, makes my printer eject 4 lines (2/3 inches).
  174.  
  175. You can also use the FORM FEED character from the keyboard to eject the
  176. printer paper to the next sheet, in the same fashion as CARRIAGE RETURN:
  177. "block highlight" the form feed character, then perform the "<print_block>"
  178. command.  (Remember to erase the form feed character afterwards, if it's
  179. not appropriate to text.)
  180.  
  181.  
  182.  
  183. (Read my article in the file QPRINTER.ART, for more information on each
  184. code.)
  185.  
  186.  
  187.  
  188.  
  189.            
  190.  
  191.